/**
 * 
 */
package com.easidea.tim.action.system;

import java.util.List;

import com.easidea.tim.action.base.BaseAction;
import com.easidea.tim.entity.system.Geography;
import com.easidea.tim.service.system.GeographyService;

/**
 * @author Harrison
 *
 */
public class GeographyAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 445302228663330438L;
	private List<Geography> areaList = null;
	private GeographyService geographyService;
	
	
	/**
	 * 列取地区信息
	 * @return
	 */
//	@NeedLoginCheck
	public String listArea(){
		areaList = geographyService.listAreas(null);
		return SUCCESS;
	}


	/**
	 * @return the areaList
	 */
	public List<Geography> getAreaList() {
		return areaList;
	}


	/**
	 * @param areaList the areaList to set
	 */
	public void setAreaList(List<Geography> areaList) {
		this.areaList = areaList;
	}


	/**
	 * @return the geographyService
	 */
	public GeographyService getGeographyService() {
		return geographyService;
	}


	/**
	 * @param geographyService the geographyService to set
	 */
	public void setGeographyService(GeographyService geographyService) {
		this.geographyService = geographyService;
	}
	
}
